package com.abc.xxx.controller;

import lombok.extern.slf4j.Slf4j;
import org.springframework.context.annotation.Profile;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Slf4j
@Profile("dev") //只有在开发环境下才暴露的接口
@RestController
@RequestMapping("/develop")
public class DevelopController {

    @GetMapping("/hello")
    public String hello() {
        return "hello developer";
    }


}
